package com.cyl.manager.aws.domain.entity;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseAudit;

import cn.hutool.json.JSONUtil;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 数据导出管理对象 aws_export_excel
 * 
 * @author zcc
 */
@ApiModel(description="数据导出管理对象")
@Data
@TableName("aws_export_excel")
public class ExportExcel extends BaseAudit {
    private static final long serialVersionUID = 1L;
    public ExportExcel() {
    	super();
    }
    
    
   

    public ExportExcel(String outQwJson,String fileName,String outYw,Long outId,Long dataSize) {
		super();
		
		this.dataSize = dataSize;
		this.fileName = fileName;
		this.outYw = outYw;
		this.outId = outId;
		if(outQwJson!=null && outQwJson.length()>1002) {
			outQwJson = outQwJson.substring(0, 1000);
		}
		this.outQwJson = outQwJson;
	}
    
    
    public ExportExcel(String outQwJson,String fileName,String outYw,Long outId,String fileUrl) {
		super();
		this.fileUrl = fileUrl;
		this.fileName = fileName;
		this.outYw = outYw;
		this.outId = outId;
		this.outQwJson = outQwJson;
	}




	@ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private Integer delFlag;

    @ApiModelProperty("创建人姓名")
    @Excel(name = "创建人姓名")
    private String createByName;

    @ApiModelProperty("创建人部门")
    @Excel(name = "创建人部门")
    private Long createByDept;

    @ApiModelProperty("直播间id")
    @Excel(name = "直播间id")
    private Long deptZbjId;

    @ApiModelProperty("总数据条数")
    @Excel(name = "总数据条数")
    private Long dataSize;

    @ApiModelProperty("文件大小KB")
    @Excel(name = "文件大小KB")
    private Long fileSize;

    @ApiModelProperty("文件备注")
    @Excel(name = "文件备注")
    private String fileBz;

    @ApiModelProperty("已导出条数")
    @Excel(name = "已导出条数")
    private Long outSize;

    @ApiModelProperty("文件名称")
    @Excel(name = "文件名称")
    private String fileName;

    @ApiModelProperty("下载地址")
    @Excel(name = "下载地址")
    private String fileUrl;

    @ApiModelProperty("执行了多久")
    @Excel(name = "执行了多久")
    private Long exeTime;

    @ApiModelProperty("执行消息")
    @Excel(name = "执行消息")
    private String exeMsg;

    @ApiModelProperty("执行状态1执行中，2执行隐藏，3执行完成")
    @Excel(name = "执行状态1执行中，2执行隐藏，3执行完成")
    private String exeZt;

    @ApiModelProperty("导出业务类型")
    @Excel(name = "导出业务类型")
    private String outYw;

    @ApiModelProperty("导出业务id")
    @Excel(name = "导出业务id")
    private Long outId;

    @ApiModelProperty("导出查询条件json")
    @Excel(name = "导出查询条件json")
    private String outQwJson;

}
